/*
 * @Description: 
 * @Author: zoe
 * @Date: 2024-09-29 15:13:20
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-29 15:16:40
 */
public class Student{
    private String name;
    private int age;
    public Student(){

    }
    public Student(String name,int age){
        this.name = name;
        this.age = age;
    }
    //重写toString方法
    @Override
    public String toString(){
        return "Student{姓名："+this.name+"年龄："+this.age + "}";
    }
}